package com.ruoyi.service.project.enums;

import lombok.Getter;

/**
 * <p>
 * 作用：交付状态
 * </p>
 *
 * @author Zane
 * @since 2025-10-05 21:15
 */
@Getter
public enum SettleStatusEnum {
  // 验收状态  0 结算中 1 已结算
  settling(0, "结算中"),
  settled(1, " 已结算");
  /**
   * 编码
   */
  private final int code;
  /**
   * 描述
   */
  private final String desc;

  SettleStatusEnum(int code, String desc) {
    this.code = code;
    this.desc = desc;
  }

  public boolean eqCode(int code) {
    return this.code == code;
  }

}
